package com.flying.stockdetails.repository;

import com.flying.stockdetails.model.TradingCompany;
import org.springframework.data.mongodb.repository.ReactiveMongoRepository;
import org.springframework.data.util.Streamable;
import reactor.core.publisher.Mono;

public interface TradingCompanyRepository extends ReactiveMongoRepository<TradingCompany, String> {
    Mono<TradingCompany> findByTicker(String ticker);
//    Streamable<TradingCompany> findByTickerContaining(String ticker);
//    Streamable<TradingCompany> findByDescriptionContaining(String description);
//
}
